<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:p="http://primefaces.org/ui">
<h:head>

</h:head>
<h:body>
	<ui:composition template="/pages/protected/templates/master.xhtml">
		<ui:define name='templatemo_menu'>
			<div id="templatemo_menu" class="ddsmoothmenu">
				<ul>
					<li><a href="index.xhtml" class="selected">Incio</a></li>
					<li><a href="componentes.xhtml">Componentes Curriculares</a>
						<ul
							style="top: 35px; visibility: visible; left: 0px; width: 100%; display: none;">
							<ui:repeat value="#{profMB.compAtuais}" var="comp">
								<h:form> 
								<li><p:commandLink id="ajax"
										actionListener="#{profMB.showComponente}"
										style="margin-right:20px;">
										<f:setPropertyActionListener value="#{comp}"
											target="#{profMB.selectedComp}" />
										<h:outputText value="#{comp.nome}" />
									</p:commandLink></li>
								</h:form> 
							</ui:repeat>
						</ul></li>
					<li><a href="questoes.xhtml">Questões de Provas</a></li>
				</ul>
				<br style="clear: left" />
			</div>
		</ui:define>

		<ui:define name='templatemo_content'>

			<ui:insert name='templatemo_content' />
		</ui:define>
	</ui:composition>
</h:body>
</html>